#ifndef __FILE_MGR_H__
#define __FILE_MGR_H__


typedef enum
{
	FILEMGR_AIS = 0,
	FILEMGR_COMPASS,
	FILEMGR_GPS,
	FILEMGR_MAX,
}EmFileMgr_Type;

void FileMgr_Init();
int FileMgr_Write(EmFileMgr_Type type, int diskIndex, u8 *pData, int dataLen);
void FileMgr_StopWrite(EmFileMgr_Type type);

void FileMgr_EnableStopReason(int diskIndex, u16 reason);
void FileMgr_DisableStopReason(int diskIndex, u16 reason);
#endif
